package selcoursesys.service.impl;

import java.util.NavigableMap;

/**
 * Created by Lpbdz on 2017/4/13.
 */
public class GetMajorAb {
    public static String getMajorAb(String majorId){
        String majorAb="";
        switch (majorId){
            case "001001": majorAb="CS"; break;
            case "001002": majorAb="AUTO"; break;
            case "002001": majorAb="EC"; break;
            case "002002": majorAb="MAN"; break;
            case "003001": majorAb="EN"; break;
            case "003002": majorAb="LAW"; break;
            case "004001": majorAb="CMS"; break;
            case "004002": majorAb="WM"; break;
            case "005001": majorAb="CI"; break;
            case "005002": majorAb="HY"; break;
        }
        return majorAb;
    }
}
